package ch01.strategy;

/**
 * Created by zc on 2016/11/20.
 */
public class Clinet {

    public static void main(String[] args){
        Context context = new Context(new ConcreateStragety2());
        context.doSomething();

        context = new Context(new ConcreateStrategy1());
        context.doSomething();

        StrategyFacde facde = new StrategyFacde();
        facde.doSomething("Strategy1");
    }
}
